﻿using System;
using System.Runtime.Serialization;
using Best.SmartCms.Dto.Response;

namespace Best.SmartCms.Service.BizException
{
    /// <summary>
    /// 异常处理
    /// </summary>
    public abstract class BizExceptionBase : ApplicationException
    {
        /// <summary>
        /// 异常错误
        /// </summary>
        public virtual ResponseCode ExceptionCode { get;}
        /// <summary>
        /// 构造函数
        /// </summary>
        protected  BizExceptionBase() : base() { }
        /// <summary>
        /// 构造函数
        /// </summary>
        protected BizExceptionBase(string message) : base(message) { }
        /// <summary>
        /// 构造函数
        /// </summary>
        protected BizExceptionBase(string message, Exception innserException) : base(message, innserException) { }
    }

    
}
